package untils;

import java.sql.Timestamp;

public class SessionViewWindow {
    public String userid;
    public Long count;
    public Long windowStart;
    public Long windowEnd;

    public SessionViewWindow() {
    }

    public SessionViewWindow(String userid, Long count, Long windowStart, Long windowEnd) {
        this.userid = userid;
        this.count = count;
        this.windowStart = windowStart;
        this.windowEnd = windowEnd;
    }

    @Override
    public String toString() {
        return "SessionViewWindow{" +
                "userid='" + userid + '\'' +
                ", count=" + count +
                ", windowStart=" + new Timestamp(windowStart) +
                ", windowEnd=" + new Timestamp(windowEnd) +
                '}';
    }
}
